import {uploadFile}  from '@/request/request'

//上传文件
export const uploadToOSS = (filePath: string) => {
  return uploadFile('/api/v1/common/oss/upload', filePath);
};

//上传身份证
export const uploadCard = (filePath:string,side:string) => {
  return uploadFile(`/api/v1/common/orc/idcard?side=${side}`,filePath);
};

